package cn.zhj.mapper;

import cn.zhj.domain.Student;
import cn.zhj.query.StudentQuery;

import java.util.List;


public interface StudentMapper {

    Student findOne(int id);

    List<Student> findAll();

    void insert(Student student);

    void delete(int id);

    void update(Student student);

    List<Student> getData(StudentQuery studentQuery);
    Integer getCount(StudentQuery studentQuery);

    void patchDeL(Integer[] ids);

}
